home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 58 / pcpp58a.iso / extras / quake 3 source / Q3A_ToolSource.exe / Main / PatchDialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-02  |  2.1 KB  |  82 lines

  1. #if !defined(AFX_PATCHDIALOG_H__DE62DFB4_E9EC_11D2_A509_0020AFEB881A__INCLUDED_)
  2. #define AFX_PATCHDIALOG_H__DE62DFB4_E9EC_11D2_A509_0020AFEB881A__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // PatchDialog.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CPatchDialog dialog
  12.  
  13. class CPatchDialog : public CDialog
  14. {
  15.   patchMesh_t *m_Patch;
  16. // Construction
  17. public:
  18.     void UpdateInfo();
  19.     void SetPatchInfo();
  20.     void GetPatchInfo();
  21.     CPatchDialog(CWnd* pParent = NULL);   // standard constructor
  22.   void UpdateSpinners(bool bUp, int nID);
  23.  
  24. // Dialog Data
  25.     //{{AFX_DATA(CPatchDialog)
  26.     enum { IDD = IDD_DIALOG_PATCH };
  27.     CSpinButtonCtrl    m_wndVShift;
  28.     CSpinButtonCtrl    m_wndVScale;
  29.     CSpinButtonCtrl    m_wndRotate;
  30.     CSpinButtonCtrl    m_wndHShift;
  31.     CSpinButtonCtrl    m_wndHScale;
  32.     CComboBox    m_wndType;
  33.     CComboBox    m_wndRows;
  34.     CComboBox    m_wndCols;
  35.     CString    m_strName;
  36.     float    m_fS;
  37.     float    m_fT;
  38.     float    m_fX;
  39.     float    m_fY;
  40.     float    m_fZ;
  41.     float    m_fHScale;
  42.     float    m_fHShift;
  43.     float    m_fRotate;
  44.     float    m_fVScale;
  45.     float    m_fVShift;
  46.     //}}AFX_DATA
  47.  
  48.  
  49. // Overrides
  50.     // ClassWizard generated virtual function overrides
  51.     //{{AFX_VIRTUAL(CPatchDialog)
  52.     protected:
  53.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  54.     //}}AFX_VIRTUAL
  55.  
  56. // Implementation
  57. protected:
  58.     void UpdateRowColInfo();
  59.  
  60.     // Generated message map functions
  61.     //{{AFX_MSG(CPatchDialog)
  62.     afx_msg void OnBtnPatchdetails();
  63.     afx_msg void OnBtnPatchfit();
  64.     afx_msg void OnBtnPatchnatural();
  65.     afx_msg void OnBtnPatchreset();
  66.     afx_msg void OnSelchangeComboCol();
  67.     afx_msg void OnSelchangeComboRow();
  68.     afx_msg void OnSelchangeComboType();
  69.     virtual void OnOK();
  70.     afx_msg void OnDeltaposSpin(NMHDR* pNMHDR, LRESULT* pResult);
  71.     virtual BOOL OnInitDialog();
  72.     afx_msg void OnDestroy();
  73.     afx_msg void OnApply();
  74.     //}}AFX_MSG
  75.     DECLARE_MESSAGE_MAP()
  76. };
  77.  
  78. //{{AFX_INSERT_LOCATION}}
  79. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  80.  
  81. #endif // !defined(AFX_PATCHDIALOG_H__DE62DFB4_E9EC_11D2_A509_0020AFEB881A__INCLUDED_)
  82.